//package com.candy.candyorder.config;
//
//import com.baomidou.mybatisplus.core.incrementer.IKeyGenerator;
//import com.baomidou.mybatisplus.extension.incrementer.H2KeyGenerator;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * @author suYanLong
// * @version 1.0
// * @date 2023/4/11 10:43
// * @Description 描述
// */
//@Configuration
////@MapperScan({"com.tuling.tulingmall.ordercurr.mapper", "com.tuling.tulingmall.ordercurr.dao"})
//public class MybatisPlusConfig {
//
////    @Bean
////    public PerformanceInterceptor performanceInterceptor() {
////        return new PerformanceInterceptor();
////    }
////
////    /**
////     * mybatis-plus分页插件<br>
////     * 文档：http://mp.baomidou.com<br>
////     */
////    @Bean
////    public PaginationInterceptor paginationInterceptor() {
////        PaginationInterceptor paginationInterceptor = new PaginationInterceptor();
////        paginationInterceptor.setLocalPage(true);// 开启 PageHelper 的支持
////        return paginationInterceptor;
////    }
//
//    /**
//     * 注入主键生成器
//     */
//    @Bean
//    public IKeyGenerator keyGenerator() {
//        return new H2KeyGenerator();
//    }
//
//}
//
